@import "./common";

html, body {
  height: 100%;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.content {
  min-height: calc(100vh - 362px);
  background: rgb(248, 250, 252);

  .breadcrumb {
    margin: 20px 0 18px;
    .flex;
    justify-content: flex-start;
    font-size: 16px;
    color: #333;

    img {
      margin-right: 18px;
      opacity: .5;
    }

    a {
      color: #999;
    }
  }

  .container {
    width: 1200px;
    margin: 0 auto;
  }

  .top {
    background: #fff;

    .tabs {
      .flex;
      .font-bold;
      justify-content: flex-start;
      font-size: 18px;

      a {
        position: relative;
        margin-right: 36px;
        padding-bottom: 24px;
        .flex;
        color: #666666;

        &.active {
          color: #0388f7;

          &::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 14px;
            transform: translateX(-50%);
            content: '';
            width: 20px;
            height: 3px;
            background-color: #0388f7;
            border-radius: 1px;
          }
        }
      }
    }

    .game-item {
      margin-bottom: 24px;
      .flex;
      justify-content: space-between;
      padding: 18px 20px;
      border-radius: 10px;
      transition: all .3s;
      .flex(flex-start);

      .img {
        margin-right: 20px;
        position: relative;
        width: 270px;
        height: 150px;
        background-color: #5b666d;
        border-radius: 10px;
        background-image: url(../images/about-introduce-img1.png);
        background-position: center 0;
        -webkit-background-size: cover;
        background-size: cover;
        .status {
          position: absolute;
          left: -13px;
          top: 9px;
          .flex;
          justify-content: center;
          width: 66px;
          height: 24px;
          background-image: linear-gradient(250deg,
          #ffbb5b 0%,
          #f78b2e 100%),
          linear-gradient(
                  #e5f5ff,
                  #e5f5ff);
          background-blend-mode: normal,
          normal;
          border-radius: 12px;
          border: solid 2px #ffffff;
          font-size: 14px;
          .font-bold;
          color: #ffffff;
          &.finish {
            color: #fff;
            background: #bac7cf;
          }
        }
      }

      .details {
        flex: 1;

        .title {
          margin-bottom: 20px;
          .flex;
          justify-content: flex-start;
          font-size: 18px;
          .font-medium;

          .tag {
            .flex;
            margin-left: 20px;
            justify-content: center;
            height: 21px;
            background-color: #e5eaf1;
            border-radius: 3px;
            padding: 0 4px;
            font-size: 12px;
            color: #6b7686;
          }
        }

        .text {
          font-size: 14px;
          line-height: 24px;
          letter-spacing: 0px;
          color: #666666;
          .text-overflow-break(3);
        }

        .time {
          .flex;
          justify-content: space-between;
          margin-top: 36px;
          font-size: 12px;
          color: #666666;
          & > section {
            .flex;
            img {
              margin-right: 4px;
            }
          }
          .tips-img {
            margin-left: 10px;
            width: 18px;
            cursor: pointer;
          }
          .status {
            .flex;
            padding: 0 8px;
            height: 44px;
            background: #a3a3a3;
            font-size: 16px;
            border-radius: 8px;
            color: #fff;
            &.active {
              background-image: linear-gradient(80deg,
              #f78b2e 0%,
              #ffbb5b 100%),
              linear-gradient(
                      #000000,
                      #000000);
              background-blend-mode: normal,
              normal;
            }
          }
        }
      }

      &:hover {
        background: #fff;
        box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.02);
      }
    }
  }

  .game-details {
    padding: 24px 0;

    .tabs {
      .flex;
      justify-content: flex-start;

      a {
        margin-right: 14px;
        .flex;
        width: 70px;
        height: 33px;
        border-radius: 3px;
        font-size: 14px;
        color: #374b5d;

        &.active {
          background-color: #e1e7ec;
        }
      }
    }

    .step-item {
      .text {
        margin-top: 30px;
        overflow: auto;
        height: 554px;
        font-size: 14px;
        line-height: 30px;
        color: #374b5d;
      }
    }

    .step-two {
      .title {
        margin-bottom: 20px;
        .font-bold;
        font-size: 18px;
        color: #374b5d;
        .dissolution {
          margin-left: 20px;
          color: red;
          font-size: 14px;
          &.disabled {
            cursor: not-allowed;
            color: #ccc;
          }
        }
      }

      .value {
        color: #0388f7;
      }

      .game-info {
        margin-bottom: 50px;
        font-size: 16px;
        color: #333;

        & > section {
          margin-bottom: 10px;
        }
      }

      .member-list {
        margin-bottom: 50px;
        .flex;
        justify-content: flex-start;
        flex-wrap: wrap;

        .member-item {
          margin-bottom: 20px;
          margin-right: 20px;
          padding: 16px 21px;
          width: 520px;
          background-color: #ffffff;
          border-radius: 3px;
          font-size: 16px;
          color: #333;

          & > section {
            margin-bottom: 10px;
          }

          &:last-of-type {
            margin-right: 0;
          }
        }
      }
    }

    .step-three {
      .upload-content {
        width: 680px;
      }

      .radio {
        margin-top: 30px;
        .flex;
        justify-content: flex-start;

        a {
          .flex;
          width: 77px;
          height: 44px;
          border: solid 2px #eeeeee;
          font-size: 16px;
          color: #666666;

          &.active {
            background: #0082fc;
            border-color: #0082fc;
            color: #fff;
          }

          &:nth-of-type(2) {
            border-right: none;
            border-left: none;
          }
        }
      }
      .game-types {
        margin-top: 30px;
        margin-bottom: 110px;
        .flex;
        justify-content: flex-start;
        .game-type-item {
          .flex;
          flex-direction: column;
          width: 280px;
          height: 350px;
          margin-right: 25px;
          background: #fff;
          border: 1px solid #eeeeee;
          cursor: pointer;
          transition: all .1s ease;
          &:last-of-type {
            margin-right: 0;
          }
          img {
            height: 80px;
            transition: all .1s ease;
          }
          .active-icon {
            display: none;
          }
          .title {
            margin: 30px 0 36px;
            font-size: 18px;
            .font-bold;
            color: #333;
            transition: all .1s ease;
          }
          .time {
            margin-bottom: 13px;
            font-size: 16px;
            color: #999;
            transition: all .1s ease;
          }
          &:hover {
            background-color: #0082fc;
            box-shadow: 0px 0px 9px 0px
            rgba(0, 130, 252, 0.56);
            border: none;
            .title, .time {
              color: #fff;
            }
            img {
              display: none;
            }
            .active-icon {
              display: inline-block;
            }
          }
        }
      }
      .upload-tips {
        margin: 20px 0 30px;
        .flex;
        padding: 16px;
        background: #fff;
        font-size: 14px;
        line-height: 24px;
        color: #999999;
        cursor: pointer;
        img {
          margin-right: 22px;
          flex-shrink: 0;
          display: block;
          width: 64px;
        }
      }
      .upload-item {
        margin-bottom: 16px;
        .name {
          margin-bottom: 13px;
          .flex;
          justify-content: space-between;
          font-size: 14px;
          color: #333333;
          .status {
            color: #0082fc;
          }
        }
        .progress {
          .flex;
          justify-content: flex-start;
          height: 8px;
          background: #fff;
          .progress-bar {
            height: 8px;
            background: #0082fc;
          }
        }
      }
      .submit-btn {
        .flex;
        justify-content: center;
        width: 200px;
        height: 42px;
        background-image: linear-gradient(266deg,
        #f78b2e 0%,
        #ffbb5b 100%),
        linear-gradient(
                #000000,
                #000000);
        background-blend-mode: normal,
        normal;
        border-radius: 21px;
        color: #ffffff;
      }
    }
    .step-four {
      .result-info {
        min-height: 350px;
        margin-top: 30px;
        padding: 15px 23px;
        background: #fff;
        .top {
          .flex(flex-start);
          justify-content: space-between;
          .title {
            font-size: 16px;
            .font-bold;
            color: #333333;
            img {
              margin-right: 10px;
            }
          }
          .download {
            .flex;
            width: 200px;
            height: 42px;
            color: #fff;
            background-image: linear-gradient(266deg,
            #1795ff 0%,
            #57aff8 100%),
            linear-gradient(
                    #000000,
                    #000000);
            background-blend-mode: normal,
            normal;
            box-shadow: 0px 0px 8px 0px
            rgba(8, 133, 252, 0.52);
            border-radius: 21px;
          }
          .appeal-btn {
            .flex;
            padding: 0 5px;
            height: 33px;
            background-color: #e5f3ff;
            border-radius: 3px;
            a {
              color: #0388f7;
              &.disabled {
                color: #ccc;
                cursor: not-allowed;
              }
            }
          }
        }
        .title {
          .flex;
          justify-content: flex-start;
          margin-bottom: 40px;
          color: #333;
        }
        .desc {
          color: #999999;
        }
        .tips {
          margin: 20px 0;
          font-size: 16px;
          text-align: center;
        }
        .btns {
          margin-top: 40px;
          .flex;
          a {
            margin-right: 22px;
            .flex;
            width: 200px;
            height: 42px;
            border-radius: 21px;
            border: solid 1px #1b97fe;
            color: #1a96fe;
            &.continue {
              background: #1a96fe;
              color: #fff;
            }
          }
        }
        .tips-text {
          display: block;
          color: #999;
          font-size: 16px;
          text-align: center;
          margin: 0 auto;
          margin-top: 20px;
        }
      }
    }
  }

}
.score-empty {
  padding: 30px 0;
  .text {
    height: auto!important;
  }
}
.modal {
  .modal-content {
    .layui-form-item {
      padding: 0 15px;
      height: 54px;
      border: solid 2px #eeeeee;
      .flex;
      justify-content: space-between;
      &::after {
        display: none;
      }
      input {
        padding-right: 30px;
        text-align: right;
        border: none;
      }
    }
    .tips {
      text-align: right;
      font-size: 16px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 52px;
      letter-spacing: 0px;
      color: #999999;
    }
    .desc {
      margin-top: 20px;
      text-align: left;
      font-size: 20px;
      line-height: 36px;
      padding: 20px;
      color: #b5b5b5;
      background: #f8f8f8;
    }
    .appeal {
      padding: 20px;
      width: 629px;
      height: 279px;
      background-color: #f8f8f8;
      border-radius: 11px;
      border: none;
      resize: none;
    }
  }

  .title {
    margin-bottom: 6px;
    font-size: 22px;
    color: #333333;
    text-align: center;
    .font-medium;
  }

  .desc {
    margin-bottom: 28px;
    font-size: 18px;
    color: #666666;
    text-align: center;
  }

  .text {
    padding: 14px 16px;
    margin: 0 auto;
    width: 629px;
    height: 544px;
    background-color: #f8f8f8;
    border-radius: 11px;
    overflow: auto;
    font-size: 18px;
    line-height: 78px;
    letter-spacing: 0px;
    color: #999999;
  }
}

.footer {
  margin-top: 80px;
  padding-bottom: 50px;
  text-align: center;
  color: rgba(255, 255, 255, .71);
}
.certificate {
  display: flex;
  .flex;
  flex-direction: column;
  background: url(../images/cetificate-bg.jpg);
  width: 100%;
  height: 100vh;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  font-family: 宋体;
  .name {
    margin: 0 auto;
    margin-bottom: 50px;
    width: 313px;
    text-align: center;
    font-size: 61px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 80px;
    letter-spacing: 0px;
    color: #040706;
    border-bottom: 3px solid #000
  }
  .text {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 97px;
    letter-spacing: 0px;
    color: #040706;
  }
  .date {
    text-align: right;
    font-size: 19px;
    line-height: 50px;
    color: #040706;
  }
}
.xm-select-parent .xm-input {
  border: none!important;
}
.xm-select-parent .xm-select {
  position: relative;
}
